package com.rpc.consumer;

import com.rpc.framework.ProxyFactory;
import com.rpc.provider.api.UserService;

/**
 * @Author:cxy
 * @Date:2021/1/24 20:05
 */
public class Consumer {

    public static void main(String[] args) {
        final UserService userService = ProxyFactory.getProxy(UserService.class);
        final String s = userService.sayHello("消费者");
        System.out.println(s);
    }
}
